home *** CD-ROM | disk | FTP | other *** search
- /* ===========
- * PedAgent.hh
- * ===========
- *
- * Implemented by PedAgent.cc
- */
-
- #pragma once
-
- #include <Events.h>
-
- #include "PedTask.hh"
-
- class PedWindow;
-
- class PedAgent : public PedTask {
- public:
- PedAgent(PedTask *inParent);
- virtual ~PedAgent();
-
- virtual void InitWindow();
- virtual PedWindow *Window();
- virtual void SetWindow(PedWindow *inWindow);
-
- virtual bool OpenWindow();
- virtual bool CloseWindow();
-
- // Event processing
- virtual void ProcessKey(EventRecord &inEvent) {}
-
- protected:
- PedWindow *mWindow;
- bool mPersistent;
- };
-